/*
 * Created on 2004-3-17
 */
package nc.ui.xew.proaccept;

/**
 * Create datetime:(2004-3-17 9:50:40)
 * @author hxr
 */
final class BillFormulaLinkUtil {
	public static String getEditFormulaLinkStr() {
		return "[Y]";
	}
	public static boolean hasEditFormulaLinkStr(String key) {
		return (key != null && key.endsWith(getEditFormulaLinkStr()));
	}
	public static String removeEditFormulaLinkStr(String key) {
		if(hasEditFormulaLinkStr(key))
			return key.substring(0,key.length() - getEditFormulaLinkStr().length());
		return key;
	}
}
